﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TopVisionVideoStream
{
    #region Login

    // delegate

    public delegate void LoginEventHandler(int code, string msg);

    #endregion

    #region Logout

    public delegate void LogoutEventHandler();

    #endregion


    #region VideoCall

    public delegate void VideoCallEventHandler(int code, string msg);

    public delegate void VideoCallInEventHandler(int code, string msg);

    #endregion


    #region Message

    public delegate void MessageReceiveEventHandler(int code, string msg, string sender);

    #endregion


    #region Request

    public delegate void ResponseResultEventHandler(ResponseType responseType, string response);

    #endregion

}
